<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
body {
	background-color: #FCFCFC;
	color: #333333;
	font-size: 1em
}

h1,h2 {
	font-family: sans-serif;
}

h1 {
	font-size: 2em;
	font-weight: bold;
}

h2 {
	font-size: 2em;
	font-weight: normal;
}

ul {
	
}

li {
	margin-top: 1em;
}

code {
	font-size: 15px;
}

span {
	display: block;
}

li span {
	padding-left: 0.5em;
}
</style>
<title>The Content File</title>
</head>
<body>
	<h1>The Content File</h1>
	<p>
		Here is the explanation for the <b>content.json</b> file. It
		represents an
		<code>object</code>
		where the keys are distinct names and the values are the content of so
		called sections.
	</p>
	<p>
		See <a href="http://json.org/">json.org</a> for further information.
	</p>
	<h2>The Main Sections</h2>
	<p>For layout matters.</p>
	<ul>
		<li><code>
				<q>Header</q> : object
			</code>
			<ul>
				<li><i><q>SectionName</q></i> : <code>value</code> <span>The
						section content.</span>
				<li>...</li>
			</ul></li>
		<li><code>
				<q>Body</q> : object
			</code>
			<ul>
				<li><i><q>SectionName</q></i> : <code>value</code> <span>The
						section content.</span>
				<li>...</li>
			</ul></li>
	</ul>
	<p></p>
	<h2>The Presenter Sections</h2>
	<p>Process and show data.</p>
	<ul>
		<li><code>
				<q>Title</q> : object
			</code>
			<ul>
				<li><q>Text</q> : <code>string</code> <span>The title
						text. <samp>
							<q>My Board</q>
						</samp>
				</span>
			</ul></li>
		<li><code>
				<q>Validation</q> : object
			</code>
			<ul>
				<li><q>AcceptedBrowsers</q> : <code>array</code> <span>The
						<code>string</code> values where at least one has to be in the
						contained in user agent string.<br> <samp>
							[ <q>Firefox/</q>, ... ]
						</samp>
				</span>
				<li><q>ValidBrowsers</q> : <code>array</code> <span>The
						<code>string</code> values where at least one has to be in the
						contained in user agent string.<br> <samp>
							[ <q>Firefox/10.0</q>, ... ]
						</samp>
				</span>
			</ul></li>
		<li><code>
				<q>Search</q> : object
			</code>
			<ul>
				<!-- 			["3rd-party/google-search.html?q=[q]", true] -->
				<li><code>
						<i><q>Item Label</q></i> : array
					</code> <span>A list where the first element is a <code>string</code>
						representing a url with the placeholder <q>[q]</q> and the second
						element is a <code>boolean</code> indicating whether the
						representing item will be selected.<br> <samp>
							[ <q>http://address/page?query=[q]</q>,
							<code>true</code>
							]
						</samp>
				</span>
				<li>...</li>
			</ul></li>
		<li><code>
				<q>Bookmarks</q> : object
			</code> <span>A object with objects.<br> <samp>
					{<q>Web</q> : {<q>Google</q> : <q>http://www.google.de/</q>, ...},
					...}
				</samp>
		</span>
			<ul>
				<li><code>
						<i><q>Group Label</q></i> : object
					</code>
					<ul>
						<li><code>
								<i><q>Item Label</q></i> : string
							</code> <span>The <code>string</code> representing the desired
								url.
						</span></li>
						<li>...</li>
					</ul></li>
				<li>...</li>
			</ul></li>

		<li><code>
				<q>Development</q> : object
			</code> <span>An <code>object</code> with a strict structure.
		</span>
			<ul>
				<li><code>
						<q>SameWindow</q> : boolean
					</code> <span>The <code>boolean</code> indicating whether to open
						the ulr in the same window.
				</span></li>
				<li><code>
						<q>HTTPS</q> : boolean
					</code> <span>The <code>boolean</code> indicating whether to use
						https or http as the protocol in the url.
				</span></li>
				<li><code>
						<q>HostName</q> : string
					</code> <span>The <code>string</code> representing the host name in
						the url.
				</span></li>
				<li><code>
						<q>HostList</q> : object
					</code> <span>An <code>object</code> of <code>string</code> values
						used for host name suggestions.
				</span>
					<ul>
						<li><code>
								<i><q>Host Name Label</q></i> : string
							</code> <span>The <code>string</code> representing the value for
								the host name suggestion. <br> <samp>
									{<q>127.0.0.1 (localhost)</q> : <q>127.0.0.1</q>, ...}
								</samp></span></li>
						<li>...</li>
					</ul></li>
				<li><code>
						<q>Port</q> : string
					</code> <span>The <code>string</code> representing the port in the
						url.
				</span></li>
				<li><code>
						<q>PortList</q> : object
					</code> <span>An <code>object</code> of <code>string</code> values
						used for port suggestions.
				</span>
					<ul>
						<li><code>
								<i><q>Port Label</q></i> : string
							</code> <span>The <code>string</code> representing the value for
								the port suggestion. <br> <samp>
									{<q>8080 (Tomcat)</q> : <q>8080</q>, ...}
								</samp></span></li>
						<li>...</li>
					</ul></li>
				<li><code>
						<q>Parameters</q> : array
					</code> <span>The <code>array</code> consists of <code>object</code>
						values. Each <code>object</code> consists of a strict structure. <br>
						<samp>
							[ {<q>name</q>: <i><q>p1</q></i>, <q>use</q>: <i><q>false</q></i>,
							...}, {<q>name</q>: <i><q>p2</q></i>, ...}, ... ]
						</samp>
				</span>
					<ul>
						<li><code>
								<q>name</q> : string
							</code> <span>The <code>string</code> representing the name of
								the parameter.
						</span></li>
						<li><code>
								<q>use</q> : boolean
							</code> <span>The <code>boolean</code> indicates whether to use
								the parameter.
						</span></li>
						<li><code>
								<q>text</q> : string
							</code> <span>The <code>string</code> representing the default
								value of the parameter.
						</span></li>
						<li><code>
								<q>size</q> : number
							</code> <span>The <code>number</code> representing the number of
								characters that should be displayed for the value of the
								parameter.
						</span></li>
						<li><code>
								<q>list</q> : object
							</code> <span>An <code>object</code> of <code>string</code>
								values used for value suggestions.
						</span>
							<ul>
								<li><code>
										<i><q>Value Label</q></i> : string
									</code> <span>The <code>string</code> representing the value
										for the suggestion label. <br> <samp>
											{<q>A Value (abc)</q> : <q>abc</q>, ...}
										</samp></span></li>
								<li>...</li>
							</ul></li>
					</ul></li>
				<li><code>
						<q>Paths</q> : array
					</code> <span>The <code>array</code> consists of <code>array</code>
						values. Each <code>array</code> consists of <code>string</code>
						values where the first value is the label and the second value is
						the path of the url. <br> <samp>
							[ [<i><q>Item Label</q></i>, <q>path/myapp.jsp</q>], ... ]
						</samp>
				</span></li>
			</ul></li>

		<li><code>
				<q>Showcases</q> : array
			</code> <span>The <code>array</code> consists of <code>array</code>
				values. Each <code>array</code> consists of three <code>string</code>
				values and one <code>object</code>.
		</span>
			<ul>
				<li>The first <code>string</code> will be used as the column
					header. Multiple occurences will be grouped.
				</li>
				<li>The second <code>string</code> is the item label. It must
					be unique in its group. (see first value.)
				</li>
				<li>The third <code>string</code> will be shown in the tool
					tip. Additional information for the item.
				</li>
				<li>The fourth <code>object</code> represents a list of labeled
					urls. The key value will be used as the row header. The <code>string</code>
					value is the item url for each row. Multiple keys are desired for
					grouping. (see first value.)
				</li>
			</ul></li>

	</ul>
	<p>
		I hope this helps a bit. For further information see the <a
			href="http://code.google.com/p/wong-board/" title="project page">project
			page</a>.
	</p>
	<p>That's all folks. Good Luck!</p>
</body>
</html>